<?php if ($result->num_rows() > 0): ?>
<dl class="sec-special">
    <?php foreach($result->result() as $value): ?>
    <dd>
        <a href="<?php echo site_url('scenic/info/index/'.$value->sid); ?>" class="flex">
            <img class="lazy" src="/skins/scenic/images/load.jpg" data-original="<?php echo $this->config->show_image_url($value->minipics, '300-300'); ?>">
            <div class="price flex-1">
                <p><?php echo $value->name_hanzi; ?></p>
                <ul class="price-ul am-cf">
                    <?php if ($value->advance_date == 0) :?>
                    <li class="order">今日订</li>
                    <?php endif;?>
                    <?php if ($value->off_bonus > 0) :?>
                    <li class="play">积分</li>
                    <?php endif;?>
                </ul>
                <div class="sec-bottom">
                    <div class="sec-buy am-cf">
                        <span><?php echo $value->sales_volume; ?>人已付</span>
                        <i class="buy-cost">
                            <span class="china">￥</span><?php echo $value->shop_price; ?><span>起</span>
                        </i>
                    </div>
                    <div class="sec-level am-cf">
                        <h6><?php echo mb_strstr(trim(mb_strstr($value->address, ' ')), ' ', true); ?></h6>
                        <i><?php echo $value->star_rank > 2 ? $value->star_rank : 3 ?>A景区</i>
                        <s><span>￥</span><?php echo $value->market_price; ?></s>
                    </div>
                </div>
            </div>
        </a>
    </dd>
    <?php endforeach; ?>
</dl>
<?php endif; ?>